/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/6 0:00:57
 */
import request from '@/utils/request'

export function specificationAdd(data) {
  return request({
    url: '/simpleshopsetting/specification/add',
    method: 'post',
    data
  })
}

export function specificationUpdate(data) {
  return request({
    url: '/simpleshopsetting/specification/update',
    method: 'post',
    data
  })
}

export function specificationDel(data) {
  return request({
    url: '/simpleshopsetting/specification/del',
    method: 'post',
    data
  })
}

export function specificationSelect(data) {
  return request({
    url: '/simpleshopsetting/specification/select',
    method: 'post',
    data
  })
}

export function specificationSelectpage(data) {
  return request({
    url: '/simpleshopsetting/specification/selectpage',
    method: 'post',
    data
  })
}

export function specificationSelecttree(data) {
  return request({
    url: '/simpleshopsetting/specification/selecttree',
    method: 'get',
    params:data
  })
}

export function specificationInfo(data) {
  return request({
    url: '/simpleshopsetting/specification/info',
    method: 'get',
    params:data
  })
}